package com.guigusuqi.app.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.guigusuqi.app.entity.DTO.MedicalCardDTO;
import com.guigusuqi.app.entity.MedicalCard;
import com.guigusuqi.commonutils.vo.Result;

import java.util.List;


/**
 * <p>
 *  服务类
 * </p>
 *
 * @author suqi
 * @since 2022-04-06
 */
public interface MedicalCardService extends IService<MedicalCard>
{

    /**
     * 绑定就诊卡
     * @param medicalCard
     * @return
     */
    Result getMedicalCard(String openid,MedicalCard medicalCard);

    /**
     * 建立就诊卡
     * @param medicalCardDTO
     * @return
     */
    Result addMedicalCard(String openid, MedicalCardDTO medicalCardDTO);

    /**
     * 通过openid查询就诊卡信息
     * @param openid
     * @return
     */
    Result findMedicalCardList(String openid);
}
